package com.stock.service;

import com.stock.vo.AiStockDataResultVo;
import com.stock.vo.StockProfitDataResultVo;

import java.math.BigDecimal;
import java.util.List;

public interface IStockProfitDataService {

    /**
     * 初始化股票交易利润数据
     * @return
     */
    boolean initStockProfitData();

    /**
     * 获取股票收益数据
     * @param beginDate
     * @param endDate
     * @return
     */
    List<StockProfitDataResultVo> getStockProfitData(String beginDate,String endDate);

    /**
     * 获取总收益率
     * @param beginDate
     * @param endDate
     * @return
     */
    BigDecimal getTotalProfitRate(String beginDate,String endDate);

    /**
     * 获取股票 ai 数据
     * @param queryStr
     * @return
     */
    List<AiStockDataResultVo> getAiStockData(String queryStr);

}
